.class public Lcom/waiqin365/lightapp/dailyreport/b/a;
.super Ljava/lang/Object;


# direct methods
.method public static a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;)Lcom/waiqin365/lightapp/dailyreport/b/a/u;
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->a()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :pswitch_0
    const/4 v0, 0x0

    :goto_0
    return-object v0

    :pswitch_1
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aa;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/h;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/h;->d:I

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/aa;-><init>(I)V

    goto :goto_0

    :pswitch_2
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/y;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/f;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/f;->d:I

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/y;-><init>(I)V

    goto :goto_0

    :pswitch_3
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/z;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/z;-><init>()V

    goto :goto_0

    :pswitch_4
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/ag;-><init>()V

    goto :goto_0

    :pswitch_5
    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/a/ah;

    move-object v0, p0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/o;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/o;->d:Lcom/waiqin365/lightapp/dailyreport/c/n;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/o;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/o;->e:Ljava/util/ArrayList;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/dailyreport/b/a/ah;-><init>(Lcom/waiqin365/lightapp/dailyreport/c/n;Ljava/util/ArrayList;)V

    move-object v0, v1

    goto :goto_0

    :pswitch_6
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/q;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/q;->d:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/aj;-><init>(Ljava/lang/String;)V

    goto :goto_0

    :pswitch_7
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/r;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/r;->d:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/ak;-><init>(Ljava/lang/String;)V

    goto :goto_0

    :pswitch_8
    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/a/ad;

    move-object v0, p0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/k;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/k;->d:Ljava/lang/String;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/k;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/k;->e:Ljava/lang/String;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/dailyreport/b/a/ad;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    move-object v0, v1

    goto :goto_0

    :pswitch_9
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/x;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/e;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/e;->d:I

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/x;-><init>(I)V

    goto :goto_0

    :pswitch_a
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ai;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/p;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/p;->d:I

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/ai;-><init>(I)V

    goto :goto_0

    :pswitch_b
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/af;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/af;-><init>()V

    goto :goto_0

    :pswitch_c
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/v;-><init>()V

    goto :goto_0

    :pswitch_d
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/w;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/w;-><init>()V

    goto :goto_0

    :pswitch_e
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ab;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/ab;-><init>()V

    goto :goto_0

    :pswitch_f
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/t;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/t;-><init>()V

    goto/16 :goto_0

    :pswitch_10
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ac;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/j;

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/j;->d:Z

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/ac;-><init>(Z)V

    goto/16 :goto_0

    :pswitch_11
    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/a/al;

    move-object v0, p0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/b/a/s;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/s;->e:Ljava/lang/String;

    check-cast p0, Lcom/waiqin365/lightapp/dailyreport/b/a/s;

    iget v2, p0, Lcom/waiqin365/lightapp/dailyreport/b/a/s;->d:I

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/dailyreport/b/a/al;-><init>(Ljava/lang/String;I)V

    move-object v0, v1

    goto/16 :goto_0

    :pswitch_12
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/ae;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/dailyreport/b/a/ae;-><init>()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_f
        :pswitch_8
        :pswitch_10
        :pswitch_11
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_12
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method

.method public static a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;Z)Lcom/waiqin365/lightapp/dailyreport/b/a/u;
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    const-string/jumbo v0, ""

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    :try_start_0
    const-string/jumbo v0, ""

    new-instance v2, Ljava/lang/StringBuffer;

    invoke-direct {v2}, Ljava/lang/StringBuffer;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->a()I

    move-result v3

    packed-switch v3, :pswitch_data_0

    :goto_0
    :pswitch_0
    invoke-virtual {v2, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string/jumbo v2, ".action"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    const-string/jumbo v2, "%s%s"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->d()Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x1

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    aput-object v0, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "auth-code"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    invoke-virtual {v4, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v3, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    if-eqz p1, :cond_0

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v1

    iget-object v1, v1, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-static {v1}, Lcom/waiqin365/compons/b/a;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    const-string/jumbo v3, "Host"

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v4

    iget-object v4, v4, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->c()Lcom/fiberhome/gaea/client/c/c;

    move-result-object v3

    iget-object v3, v3, Lcom/fiberhome/gaea/client/c/c;->d:Ljava/lang/String;

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->b()Ljava/util/HashMap;

    move-result-object v1

    invoke-static {v0, v2, v1}, Lcom/waiqin365/compons/b/a;->c(Ljava/lang/String;Ljava/util/HashMap;Ljava/util/HashMap;)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a;->a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;)Lcom/waiqin365/lightapp/dailyreport/b/a/u;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->a(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_1

    const/16 v2, 0x3ed

    iput v2, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->c:I

    :cond_1
    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->a(Z)V

    :goto_1
    return-object v0

    :pswitch_1
    const-string/jumbo v0, "/app/blog/v8/getMainListUpdate"

    goto :goto_0

    :pswitch_2
    const-string/jumbo v0, "/app/blog/v8/getCommentListUpdate"

    goto :goto_0

    :pswitch_3
    const-string/jumbo v0, "/app/blog/v8/getOneBlog"

    goto/16 :goto_0

    :pswitch_4
    const-string/jumbo v0, "/app/blog/v8/sendBlogComment"

    goto/16 :goto_0

    :pswitch_5
    const-string/jumbo v0, "/app/blog/v8/sendBlog"

    goto/16 :goto_0

    :pswitch_6
    const-string/jumbo v0, "/app/blog/v8/sendBlogSupport"

    goto/16 :goto_0

    :pswitch_7
    const-string/jumbo v0, "/app/blog/v8/setOneBlogStatus"

    goto/16 :goto_0

    :pswitch_8
    const-string/jumbo v0, "/app/blog/v8/getBlogHistory"

    goto/16 :goto_0

    :pswitch_9
    const-string/jumbo v0, "/app/blog/v8/getCommentInfo"

    goto/16 :goto_0

    :pswitch_a
    const-string/jumbo v0, "/app/blog/v8/getBlogByFilter"

    goto/16 :goto_0

    :pswitch_b
    const-string/jumbo v0, "/app/blog/v8/getPositionList"

    goto/16 :goto_0

    :pswitch_c
    const-string/jumbo v0, "/app/blog/v8/getBlogModel"

    goto/16 :goto_0

    :pswitch_d
    const-string/jumbo v0, "/app/blog/v8/getBlogType"

    goto/16 :goto_0

    :pswitch_e
    const-string/jumbo v0, "/app/blog/v8/getMyAtInfo"

    goto/16 :goto_0

    :pswitch_f
    const-string/jumbo v0, "/app/blog/v8/cancelMyBlogAttentionSuggest"

    goto/16 :goto_0

    :pswitch_10
    const-string/jumbo v0, "/app/blog/v8/getMyBlogAttention"

    goto/16 :goto_0

    :pswitch_11
    const-string/jumbo v0, "/app/blog/v8/updateBlogAttentionForEmployee"

    goto/16 :goto_0

    :pswitch_12
    const-string/jumbo v0, "/app/blog/v8/getPersonalDetail"
    :try_end_0
    .catch Ljava/net/SocketTimeoutException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2

    goto/16 :goto_0

    :catch_0
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u65e5\u62a5\u63a5\u53e3\u901a\u4fe1\u8d85\u65f6\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/net/SocketTimeoutException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a;->a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;)Lcom/waiqin365/lightapp/dailyreport/b/a/u;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->a(Z)V

    const/16 v1, 0x3ea

    iput v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->c:I

    iput-boolean v7, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->e:Z

    goto/16 :goto_1

    :catch_1
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u65e5\u62a5\u63a5\u53e3\u901a\u4fe1\u4f4d\u7f6e\u57df\u540d\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/net/UnknownHostException;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a;->a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;)Lcom/waiqin365/lightapp/dailyreport/b/a/u;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->a(Z)V

    const/16 v1, 0x3e9

    iput v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->c:I

    iput-boolean v7, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->e:Z

    goto/16 :goto_1

    :catch_2
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u65e5\u62a5\u63a5\u53e3\u901a\u4fe1\u5f02\u5e38="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, " cmdtype:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a/a;->a()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/lightapp/dailyreport/b/a;->a(Lcom/waiqin365/lightapp/dailyreport/b/a/a;)Lcom/waiqin365/lightapp/dailyreport/b/a/u;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->a(Z)V

    const/16 v1, 0x3ec

    iput v1, v0, Lcom/waiqin365/lightapp/dailyreport/b/a/u;->c:I

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_f
        :pswitch_8
        :pswitch_10
        :pswitch_11
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_12
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_c
        :pswitch_d
        :pswitch_e
    .end packed-switch
.end method
